package com.noahplat.user.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * @author
 * @version 1.0.0
 * @Date: 2021/2/24 16:16
 **/
@Data
@Table(name = "tb_role_permission")
public class RolePermission {
    @Id
    private Long acctid; // 账套ID

    @NotNull(message = "参数不能为null")
    private Long rid; // 角色Id

    @NotNull(message = "参数不能为null")
    private Long pid; // 权限Id
}
